/**
 * Copyright (c) 2002-2012 旭鸣信息
 * All rights reserved. 
 * File：FrontOrderCouponDaoImpl.java
 * History: Dec 27, 2012: Initially created, liuzhi.
 */
package com.xteam.ecsystem.dao.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.xteam.ecsystem.dao.IFrontOrderCouponDao;
import com.xteam.ecsystem.entities.BaseOrderUsingcoupon;

/**
 * 前端订单与购物券关联表（使用券、获得券）数据访问实现类
 * @author liuzhi
 *
 */
@Repository
public class FrontOrderCouponDaoImpl extends DDLPrefix implements IFrontOrderCouponDao {
	
	@SuppressWarnings("unchecked")
	@Autowired
	private BaseDaoImpl baseDao;

	public void saveOrderUsingCoupon(BaseOrderUsingcoupon buc){
		try {
			this.baseDao.save(buc);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
